package edu.sctu.practice.class02.xuqianlan.test.test08;

/**
 * Created by lenovo on 2015/10/16.
 */
public class Truck extends Vehicles {
    float load;

    public Truck(float load) {
        super("江淮", "蓝");
        this.load = load;
    }

    public void showTruck() {
        System.out.println("货车：" + " 商标：" + brand + " 颜色：" + color + " 载重：" + load+"吨");
    }
}
